﻿@model MvcOrganizer.Models.RegisterModel
@{
    ViewBag.Title = "Register";
}
<hgroup class="title">
    <h1>@ViewBag.Title.</h1>
    <h2>
        Create a new account.</h2>
</hgroup>
@using (Html.BeginForm())
{
    @Html.AntiForgeryToken()
    @Html.ValidationSummary()

    <div class="form_settings">
        <p>
            @Html.LabelFor(m => m.UserName)
            @Html.TextBoxFor(m => m.UserName)
        </p>
           <p>
            @Html.LabelFor(m => m.Email)
            @Html.TextBoxFor(m => m.Email)
        </p>
        <p>
            @Html.LabelFor(m => m.Password)
            @Html.PasswordFor(m => m.Password)
        </p>
        <p>
            @Html.LabelFor(m => m.ConfirmPassword)
            @Html.PasswordFor(m => m.ConfirmPassword)
        </p>
        <p style="padding-top: 15px">
            <span>&nbsp;</span>
            <input type="submit" class="submit" value="Register" />
        </p>
    </div>   
}